package org.tea.inventory.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户积分记录表
 */
@ApiModel(value = "org-alumni-record-mall-domain-MallIntegralLog")
@Data
public class MallIntegralLogVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "")
    private Long id;
    /**
     * 用户
     */
    @ApiModelProperty(value = "用户")
    private String loginId;
    /**
     * 用户
     */
    @ApiModelProperty(value = "员工名称")
    private String userName;
    /**
     * 积分
     */
    @ApiModelProperty(value = "积分")
    private Integer integral;
    /**
     * 积分类型
     */
    @ApiModelProperty(value = "积分类型")
    private String integralType;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String comment;
    /**
     * 删除标记
     */
    @ApiModelProperty(value = "删除标记 ")
    private Integer delFlag;
}